#ifndef __CW32_HAL_ADC_H_
#define __CW32_HAL_ADC_H_

#include "cw32_hal_def.h"

void cw32_hal_adc_once_init(uint32_t channel ,uint32_t samp_time);
void cw32_hal_adc_once_switch_channel(uint32_t channel,uint32_t samp_time);
uint16_t cw32_hal_adc_once_get_data(void);

uint8_t cw32_hal_adc_continuous_channle_registrat(uint32_t channel ,uint32_t samp_time);
void cw32_hal_adc_continuous_save_buff_path(uint16_t* p_buff);
void cw32_hal_adc_continuous_init(void);
uint8_t cw32_hal_adc_continuous_done(void);


#endif



